<%--
  Created by IntelliJ IDEA.
  User: 李志文
  Date: 2024/3/7
  Time: 16:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<center>
<fieldset>欢迎来到登录页面</fieldset>
<form action="/UserController/login" method="post">
    <p>
        <label for="uname">账号：</label>
        <input type="text" name="uname" id="uname">
    </p>
    <p>
        <label for="upwd">密码：</label>
        <input type="text" name="upwd" id="upwd">
    </p>
    <span style="color: red">${error}</span>
    <a style="color: red" href="updatePwd.jsp">找回密码</a>
    <p>
        <input type="submit" value="登录">
        &nbsp;&nbsp;&nbsp;
        <input type="button" value="注册" onclick="location.href='zhuce.jsp'">
    </p>
</form>
</center>
</body>
</html>
